package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Clazz;
import org.hxyjs.entity.ClazzExample;

public interface ClazzMapper {
    long countByExample(ClazzExample example);

    int deleteByExample(ClazzExample example);

    int deleteByPrimaryKey(String clno);

    int insert(Clazz record);

    int insertSelective(Clazz record);

    String getMaxClno();

    List<Clazz> getClazzByPage(Map map);

    List<Clazz> selectByExample(ClazzExample example);

    Clazz selectByPrimaryKey(String clno);

    int updateByExampleSelective(@Param("record") Clazz record, @Param("example") ClazzExample example);

    int updateByExample(@Param("record") Clazz record, @Param("example") ClazzExample example);

    int updateByPrimaryKeySelective(Clazz record);

    int updateByPrimaryKey(Clazz record);
}